<template>
  
  <router-view :key="routerkey"></router-view>

</template>
<script setup>
  import {router} from "@/router"
  import {ref,provide,onMounted} from "vue"
  const routerkey=ref(router.currentRoute.value.fullPath)
  provide('father',{
    query:router.currentRoute.value.query,
    routerTo:(pid,page=1)=>{
      router.push('?pid='+pid+'&page='+page)
    }
  })

  onMounted(()=>{

  })

</script>